POV-Ray : Newsgroups : povray.general : Colour-flip bug? : Colour-flip bug? Server Time
5 Aug 2024 00:20:07 EDT (-0400)
  Colour-flip bug?  
From: Tom Melly
Date: 16 Jan 2003 12:13:51
Message: <3e26e84f$1@news.povray.org>
If you render the following scene, the black and white of the checker pattern is
reversed when viewed through the transparent sphere - is this a bug?

Win 2000, p3 733, pov3.5

#version 3.5;

#include "colors.inc"

global_settings {
  assumed_gamma 1.0
}

camera {
  location  <0.0, 1.0, -5.0>
  look_at   <0.0, 1.0,  0.0>
}


plane{y,-0.001 pigment{checker pigment{Black}, pigment{White}}}


sphere{0,1
  translate y*1
  pigment{rgbt 1}
}



--
#macro A(V,B,C,R)#while(B-256)#if(V-128/B>=0)sphere{0,.5translate<C-4R-1,9>
pigment{rgb<1-C/8R/2C/8>}}#local V=V-128/B;#end#local B=B*2;#local C=C+1;#
end#end A(234,1,0,2)A(85,1,0,1)A(81,1,0,0)light_source{-5 1}//Tom Melly


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.